import type { AppRouteModule } from '/@/router/types';
import { LAYOUT } from '/@/router/constant';

const goods: AppRouteModule = {
  path: '/goods',
  name: 'Goods',
  component: LAYOUT,
  redirect: '/goods/wmsProductCategories',
  meta: {
    orderNo: 60,
    icon: 'ant-design:appstore-outlined',
    title: '商品管理',
  },
  children: [
    {
      path: 'wmsProductCategories',
      name: 'WmsProductCategoriesList',
      component: () => import('/@/views/goods/WmsProductCategoriesList.vue'),
      meta: {
        title: '商品分类',
      },
    },
    {
      path: 'wmsCargoOwners',
      name: 'WmsCargoOwnersList',
      component: () => import('/@/views/goods/WmsCargoOwnersList.vue'),
      meta: {
        title: '货主管理',
      },
    },
  ],
};

export default goods; 